# You can put files here to add functionality separated per file, which
# will be ignored by git.
# Files on the custom/ directory will be automatically loaded by the init
# script, in alphabetical order.

# For example: add yourself some shortcuts to projects you often work on.
#
# brainstormr=~/Projects/development/planetargon/brainstormr
# cd $brainstormr
#

alias gse='git status'
# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'

# some more tar aliases
alias ta='tar -zcvf'
alias unta='tar zxvf'

# some more IDF_PATH aliases(just adjust Make compile, Delete soon)
alias 32IDF_PATH_3.2='export IDF_PATH=~/idf/esp-idf3.2/; export PATH="$HOME/xtensa/xtensa32-3.2/xtensa-esp32-elf/bin:$PATH"'
alias 32IDF_PATH_3.3='export IDF_PATH=~/idf/esp-idf3.3/; export PATH="$HOME/xtensa/xtensa32-3.3/xtensa-esp32-elf/bin:$PATH"'
alias 32IDF_PATH_4.0='export IDF_PATH=~/idf/esp-idf4.0/; export PATH="$HOME/xtensa/xtensa32-4/xtensa-esp32-elf/bin:$PATH"'
alias 32IDF_PATH_4.1='export IDF_PATH=~/idf/esp-idf4.1/; export PATH="$HOME/xtensa/xtensa32-4/xtensa-esp32-elf/bin:$PATH"'
alias 32IDF_PATH_4.2='export IDF_PATH=~/idf/esp-idf4.2/; export PATH="$HOME/xtensa/xtensa32-4/xtensa-esp32-elf/bin:$PATH"'
alias 8266IDF_PATH_3.2='export IDF_PATH=~/idf/ESP8266_RTOS_SDK3.2; export PATH="$HOME/xtensa/xtensa8266-3.2/xtensa-lx106-elf/bin:$PATH"'
alias 8266IDF_PATH_3.3='export IDF_PATH=~/idf/ESP8266_RTOS_SDK3.3; export PATH="$HOME/xtensa/xtensa8266-3.3/xtensa-lx106-elf/bin:$PATH"'
alias 8266IDF_PATH_master='export IDF_PATH=~/idf/ESP8266_RTOS_SDK_master; export PATH="$HOME/xtensa/xtensa8266-master/xtensa-lx106-elf/bin:$PATH"'
alias 8266IDF_PATH_2.x.x='export IDF_PATH=~/idf/ESP8266_RTOS_SDK2.x.x; export PATH="$HOME/xtensa/xtensa8266-4.8.5/xtensa-lx106-elf/bin:$PATH"'

# some more idf.py aliases
alias idf='idf.py'
alias bu='idf.py build'
alias fm='esp_cmake_flash_monitor'
alias ef='esp_cmake_erase_flash'
alias f='esp_cmake_flash'
alias m='esp_cmake_monitor'
alias 32='idf.py set-target esp32'
alias s2='idf.py set-target esp32s2'
alias s3='idf.py set-target esp32s3'
alias c3='idf.py set-target esp32c3'
alias ex='. ./export.sh'

alias py='python'

alias master='git checkout master'
alias 4.3='git checkout release/v4.3'
alias 4.2='git checkout release/v4.2'
alias 4.1='git checkout release/v4.1'
alias 4.0='git checkout release/v4.0'
alias 3.3='git checkout release/v3.3'
alias 3.2='git checkout release/v3.2'
